// 费用查询相关API
import api from './request'

/**
 * 根据患者ID查询药品医嘱
 * @param {number} patientId 患者ID
 * @returns {Promise}
 */
export const getPatientDrugOrders = (patientId) => {
  return api.get(`/patient_drug_order/patient/${patientId}`)
}

/**
 * 根据患者ID查询诊疗服务医嘱
 * @param {number} patientId 患者ID
 * @returns {Promise}
 */
export const getPatientServiceOrders = (patientId) => {
  return api.get(`/patient_service_order/patient/${patientId}`)
}

/**
 * 根据患者ID查询医疗服务医嘱
 * @param {number} patientId 患者ID
 * @returns {Promise}
 */
export const getPatientTreatmentOrders = (patientId) => {
  return api.get(`/patient_treatment_order/patient/${patientId}`)
}
